<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: yunwuxin <448901948@qq.com>
// +----------------------------------------------------------------------

return [
    'users' => [
        'name' => '会员管理', 'icon' => '&#xe6b8;', 'child' => [
            ['name' => '会员列表', 'icon' => '&#xe6a7;', 'op' => 'users', 'act' => 'user',],
            ['name' => '会员详细', 'icon' => '&#xe70b;', 'child' => [
                    ['name' => '等级管理', 'icon' => '&#xe6a7;', 'op' => 'users', 'act' => 'level',]
                ]
            ],
        ]
    ],

    'orders' => [
        'name' => '订单管理', 'icon' => '&#xe723;', 'child' => [
            ['name' => '订单列表', 'icon' => '&#xe6a7;', 'op' => 'orders', 'act' => 'order',],
            ['name' => '发货单', 'icon' => '&#xe6a7;', 'op' => 'orders', 'act' => 'orderGoodsList',],
            ['name' => '退换货表', 'icon' => '&#xe6a7;', 'op' => 'orders', 'act' => 'returnGoods',],
        ]
    ],

    'goods' => [
        'name' => '商品管理', 'icon' => '&#xe83b;', 'child' => [
            ['name' => '商品分类', 'icon' => '&#xe6a7;', 'op' => 'goods', 'act' => 'goodsCate',],
            ['name' => '商品列表', 'icon' => '&#xe6a7;', 'op' => 'goods', 'act' => 'goods',],
            ['name' => '商品评价', 'icon' => '&#xe6a7;', 'op' => 'goods', 'act' => 'comment',],
            ['name' => '商品原型', 'icon' => '&#xe6ce;', 'child' => [
                    ['name' => '商品模型', 'icon' => '&#xe6a7;', 'op' => 'goodsType', 'act' => 'goodsModel',],
                    ['name' => '商品属性', 'icon' => '&#xe6a7;', 'op' => 'goodsType', 'act' => 'goodsAttr',],
                    ['name' => '商品规格', 'icon' => '&#xe6a7;', 'op' => 'goodsType', 'act' => 'goodsSpec',],
                ]
            ],
        ]
    ],

    'mallConfig' => [
        'name' => '商城配置', 'icon' => '&#xe6ae;', 'child' => [
            ['name' => '网站设置', 'icon' => '&#xe6f4;', 'child' => [
                    ['name' => '网站信息', 'icon' => '&#xe6a7;', 'op' => 'mallConfig', 'act' => 'config', 'type' => 'web_info',],
                    ['name' => '基本设置', 'icon' => '&#xe6a7;', 'op' => 'mallConfig', 'act' => 'config', 'type' => 'basic_setup',],
                ]
            ],
            ['name' => '商城文章', 'icon' => '&#xe6a2;', 'child' => [
                    ['name' => '文章列表', 'icon' => '&#xe6a7;', 'op' => 'article', 'act' => 'article',],
                    ['name' => '文章分类', 'icon' => '&#xe6a7;', 'op' => 'article', 'act' => 'cate',],
                ]
            ],
            ['name' => '广告管理', 'icon' => '&#xe6b3;', 'child' => [
                    ['name' => '广告列表', 'icon' => '&#xe6a7;', 'op' => 'ad', 'act' => 'ad',],
                    ['name' => '广告位置', 'icon' => '&#xe6a7;', 'op' => 'ad', 'act' => 'adPosition',],
                ]
            ],
            ['name' => '友情链接', 'icon' => '&#xe6a7;', 'op' => 'mallConfig', 'act' => 'friendly',],
            ['name' => '运费模板', 'icon' => '&#xe6a7;', 'op' => 'mallConfig', 'act' => 'freightTemplate',],
            ['name' => '快递管理', 'icon' => '&#xe6a7;', 'op' => 'mallConfig', 'act' => 'shipping',],
            ['name' => '导航管理', 'icon' => '&#xe6a7;', 'op' => 'mallConfig', 'act' => 'navigation',],
        ]
    ],

    'admin' => [
        'name' => '管理员管理', 'icon' => '&#xe726;', 'child' => [
            ['name' => '管理员列表', 'icon' => '&#xe6a7;', 'op' => 'admin', 'act' => 'user',],
            ['name' => '角色管理', 'icon' => '&#xe6a7;', 'op' => 'admin', 'act' => 'role',],
            ['name' => '权限分类', 'icon' => '&#xe6a7;', 'op' => 'admin', 'act' => 'classify',],
            ['name' => '权限管理', 'icon' => '&#xe6a7;', 'op' => 'admin', 'act' => 'rule',],
            ['name' => '日志记录', 'icon' => '&#xe6a7;', 'op' => 'admin', 'act' => 'log',],
        ]
    ],

    'plugin' => [
        'name' => '插件管理', 'icon' => '&#xe75f;', 'child' => [
            ['name' => '支付插件', 'icon' => '&#xe6a7;', 'op' => 'component', 'act' => 'plugin', 'type' => 'payment',],
            ['name' => '短信插件', 'icon' => '&#xe6a7;', 'op' => 'component', 'act' => 'plugin', 'type' => 'sms',],
            ['name' => '物流插件', 'icon' => '&#xe6a7;', 'op' => 'component', 'act' => 'plugin', 'type' => 'shipping',],
        ]
    ],

    'promition' => [
        'name' => '促销管理', 'icon' => '&#xe6c5;', 'child' => [
            ['name' => '优惠券管理', 'icon' => '&#xe6a7;', 'op' => 'promotion', 'act' => 'coupon',],
        ]
    ],

    'Finance' => [
        'name' => '账务管理', 'icon' => '&#xe702;', 'child' => [
            ['name' => '资金统计', 'icon' => '&#xe6a7;', 'op' => 'Finance', 'act' => 'statistics',],
            ['name' => '发票管理', 'icon' => '&#xe6a7;', 'op' => 'Finance', 'act' => 'invoice',],
        ]
    ],
];
